package com.ctshk.rpc.scenic.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 操作日志表
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_operation_log")
@ApiModel(value="OperationLog对象", description="操作日志表")
public class OperationLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作标题")
    private String title;

    @ApiModelProperty(value = "操作模块")
    private String model;

    @ApiModelProperty(value = "操作记录的各对应相关业务表id")
    private Long recordId;

    @ApiModelProperty(value = "操作类型")
    private String type;

    @ApiModelProperty(value = "操作描述")
    private String description;

    @ApiModelProperty(value = "操作结果")
    private String result;

    @ApiModelProperty(value = "操作用户")
    private Long userId;

    @ApiModelProperty(value = "操作IP")
    private String ip;


}
